xen: credit2: make the code less experimental
authorDario Faggioli <dario.faggioli@citrix.com>
Fri, 15 Jul 2016 14:49:49 +0000 (16:49 +0200)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 18 Jul 2016 16:55:11 +0000 (17:55 +0100)
commitccf2ead7f525877597768cdeba4cae0ac506aad9
tree3a4fba3b46b789106f9522413ac02c4c8a944155
parent222234f2ad171854516b78b476931a3fd784b6ae
xen: credit2: make the code less experimental

Mainly, almost all of the BUG_ON-s can be converted into
ASSERTS, and almost all the debug printk can either be
removed or turned into tracing.

The 'TODO' list, in a comment at the beginning of the file,
was also stale, so remove items that were still there but
are actually done.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_credit2.c